<!DOCTYPE html>
<html>
<head lang="en">
    <title>设备监控 - 监控设备</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/cwp/favicon.ico" type="image/x-icon" />
    <!--引入CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/list.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/btn.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/taqs.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/panel.css"  />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/zTree/css/metroStyle/metroStyle.css"/>

    <!--引入bootstrap CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css"/>

    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/animate.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/smartSecurity/device.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/smartSecurity/deviceMenu.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/smartSecurity/deviceAir.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/smartSecurity/deviceList.css"/>
</head>
<body>

<!--头部文件 开始-->
<div id="header" class="hide"></div>
<!--头部文件 结束-->


<!--主要内容开始-->
<div class="wrapper">
    <!--左侧菜单 开始-->
    <div id="left-menu" class=""></div>
    <div class="center_td">
        <!--右边菜单-->
        <!--右中间-->
        <div id="left-menu-secondary">

        </div>
        <!--右右菜单-->
        <div id="right-menu-secondary" class="">
            <div class="right-menu-secondary">
                <div class="menu-list-secondary">

                </div>
            </div>
        </div>
    </div>
    <!--右侧内容 开始-->
    <div class="right-container right-container-lg">
        <div class="right-scroll">
            <div class="t-list" style="width: 100%;height: 100%;">
                <!--门禁设备-->
                <div class="t-building">
                    <!--楼层-->
                    <div class="img-title" id="img-title">
                        <div class="clearfix mt-20">
                            <div class="clearfix item">
                                <img src="../../../assets/img/airConditioner/air1_1.png" id="normalTitleImg"><span>正常运行</span>
                            </div>
                        </div>
                        <div class="clearfix mt-20">
                            <div class="clearfix item">
                                <img src="../../../assets/img/airConditioner/air1_2.png" id="faultTitleImg"><span>设备报警</span>
                            </div>
                        </div>
                        <div class="clearfix mt-20">
                            <div class="clearfix item">
                                <img src="../../../assets/img/airConditioner/air1_3.png" id="powerTitleImg"><span>设备未开启</span>
                            </div>
                        </div>
                    </div>
                    <div id="floor-list">

                    </div>
                    <!--工具栏-->
                    <div class="status-bar clearfix" id="deviceToolBox">
                        <ul>
                            <li class="selected" id="planeViewBtn">平面视图</li>
                            <!--<li id="structureViewBtn">结构视图</li>-->
                            <li id="ListViewBtn">设备列表</li>
                        </ul>
                        <img src="../../../assets/img/compass_icon.png"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--左侧菜单 结束-->
</div>

<!--版权-->
<!--<div id="copyright"></div>-->

<!--提示模态框-->
<div class="modal fade bs-example-modal-sm" id="myTip" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-body" style="text-align:center;font-size:14px;">
                <i id="icon-tip" style="margin-right:6px;"></i>
                <span class="tip-info"></span>
            </div>
        </div>
    </div>
</div>

<!--jQuery库脚本-->
<!--非IE8浏览器-->
<!--[if !(IE 8)]><!--><script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script><!--<![endif]-->
<!--IE8浏览器-->
<!--[if IE 8]><script type="text/javascript" src="../../../assets/lib/jquery/jquery-ie8.min.js"></script><![endif]-->
<script type="text/javascript" src="../../../assets/lib/jQuery-slimScroll-1.3.8/jquery.slimscroll.min.js"></script>
<script src="../../../assets/common/loadHeaderAndCopyright.js"></script>

<!--模态框-->
<script src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>

<script charset="utf-8" src="../../../assets/lib/tipModal/js/tipModal.js"></script>
<!--模态提示框-->
<script src="../../../assets/common/centerModal.js"></script>
<script src="../../../assets/common/ajaxPoster.js"></script>
<script charset="utf-8" src="../../../assets/lib/artTemplate/template.js"></script>
<script src="../../../assets/common/loaderTableTmpl.js"></script>
<script src="../../../js/monitorDevices/building/buildingAir.js"></script>
<script src="../../../assets/common/loadLeftMenuDevice.js"></script>

<!--加载设备详情信息-->
<script type="text/html" id="deviceMenuTmpl">
    <dl><dt><span class='icon-circle-down'></span><i class='title'>{{titleName}}</i></dt>
        <div class='dd-list'>
            <div class='div-c'>
</script>

<!--加载楼层地图-->
<script type="text/html" id="mapTmpl">
    {{each beans}}
    <div class="floor-image {{$value.num | mapFormat}}" id="floor{{$value.buildingId}}">
        <img src="{{$value.num | mapImgFormat}}" alt="">
        <div class='device-coordinate-item selected' id="{{$value.buildingId}}">

        </div>
    </div>
    {{/each}}
</script>

<!--设备列表-->
<script type="text/html" id="deviceListTmpl">
    {{each}}
    <li class="deviceListli {{$value.deviceState | deviceState}}" dataId="{{$value.deviceId}}" dataState="{{$value.deviceState}}">{{$value.devicePositionDescribe}}</li>
    {{/each}}
</script>

<!--监控设备信息-->
<!--空调机组-->
<script type="text/html" id="deviceInfoTmplAirWait">
    <div id="deviceInfoImgTitle">
        <div><label>空调机组</label></div>
        <div><label>编号：</label></div>
        <div><label>位置：</label></div>
    </div>
    <div id="deviceInfoImgBox"">
        <img id='deviceInfoImg' src='../../../assets/img/airConditioner/deviceAir/deviceAir.png' width="100%">
        <img class="deviceIcon" src="../../../assets/img/airConditioner/deviceAir/arrows.png" style="width: 100%;top: 13%;left: 0;">
    </div>
</script>
<script type="text/html" id="deviceInfoTmplAir">
    <div id="deviceInfoImgTitle">
        <div><label>{{deviceName}}({{deviceBrand}})</label></div>
        <div><label>编号：</label><label>{{devicePositionCode}}</label></div>
        <div><label>位置：</label><label>{{devicePositionDescribe}}</label></div>
    </div>
    <div id="deviceInfoImgBox" deviceIdCode="{{devicePositionCode}}" deviceId="{{deviceId}}">
        <img id='deviceInfoImg' src='../../../assets/img/airConditioner/deviceAir/deviceAir.png' width="100%">
        <img class="deviceIcon" src="../../../assets/img/airConditioner/deviceAir/arrows.png" style="width: 100%;top: 13%;left: 0;">
        <!--新风阀-->
        <img class="deviceIcon" src="{{toolData.airAdjustment | airAdjustmentImg}}" style="top:12%;left:12%;width:4.5%;">
        <li style="top: 35%;left:12%">
            <label>新风阀</label><br>
            <div id="airAdjustmentControl" class="deviceControlBtn {{toolData.airAdjustment | airAdjustmentC}}" ipgCode="3">
                <div><img src="../../../assets/img/airConditioner/loading.gif" class="hide"></div>
            </div>
        </li>
        <!--新风滤网-->
        <img class="deviceIcon" src="{{toolData.freshAirFilterBlockAlarm | freshAirFilterBlockAlarmImg}}" style="top: 14.5%;left:21%;width:3.5%;">
        <li style="top: 37%;left:21%">
            <label>新风滤网</label><br>
            <label class="deviceStateView {{toolData.freshAirFilterBlockAlarm | freshAirFilterBlockAlarmState}}">{{toolData.freshAirFilterBlockAlarm}}</label>
        </li>
        <!--送风机-->
        <img class="deviceIcon" src="{{toolData.airBlowerRunningState | airBlowerRunningStateImg}}" style="top: 78%;left:73%;width:11%;">
        <img class="deviceIcon {{toolData.airBlowerFaultAlarm | airBlowerFaultAlarmImg}}" src="../../../assets/img/airConditioner/alarm.png" style="top: 75%;left:72%;width:11%;">
        <li style="top: 100%;left:76%">
            <label class="deviceStateTitle">送风机</label>
            <label class="deviceStateView deviceStateNormal">{{toolData.airBlowerHandAutomatic}}</label><br>
            <label class="deviceStateTitle">状态</label>
            <label class="deviceStateView {{toolData.airBlowerRunningState | airBlowerRunningStateS}}">{{toolData.airBlowerRunningState}}</label><br>
            <label class="deviceStateTitle">故障报警</label>
            <label class="deviceStateView {{toolData.airBlowerFaultAlarm | airBlowerFaultAlarmState}}">{{toolData.airBlowerFaultAlarm}}</label>
        </li>
        <!--回风滤网-->
        <img class="deviceIcon" src="{{toolData.returnAirFilterBlockAlarm | returnAirFilterBlockAlarmImg}}" style="top: 23%;left:68%;width:3.5%;">
        <li style="top: 48%;left:67%">
            <label>回风滤网</label><br>
            <label class="deviceStateView {{toolData.returnAirFilterBlockAlarm | returnAirFilterBlockAlarmState}}">{{toolData.returnAirFilterBlockAlarm}}</label>
        </li>
        <!--回风阀-->
        <img class="deviceIcon" src="{{toolData.returnAirSwitch | returnAirSwitchImg}}" style="top: 24%;left:75%;width:4.5%;">
        <li style="top: 49%;left:75%">
            <label class="deviceStateTitle">回风阀</label><br>
            <div id="returnAirSwitchControl" class="deviceControlBtn {{toolData.returnAirSwitch | returnAirSwitchC}}" ipgCode="2">
                <div><img src="../../../assets/img/airConditioner/loading.gif" class="hide"></div>
            </div>
        </li>
        <!--防冻报警-->
        <img class="deviceIcon" src="{{toolData.airCondAntifreezingAlarm | airCondAntifreezingAlarmImg}}" style="top: 69%;left:62%;width:4.5%;">
        <li style="bottom: 31%;left:62%">
            <label>防冻报警</label><br>
            <label class="deviceStateView {{toolData.airCondAntifreezingAlarm | airCondAntifreezingAlarmState}}">{{toolData.airCondAntifreezingAlarm}}</label>
        </li>
        <!--加湿伐-->
        <img class="deviceIcon" src="{{toolData.humidifierSwitch | humidifierSwitchImg}}" style="top: 83%;left:68%;width: 2.5%">
        <li style="top: 102%;left:68%">
            <label>加湿阀</label><br>
            <div id="humidifierSwitchControl" class="deviceControlBtn {{toolData.humidifierSwitch | humidifierSwitchC}}" ipgCode="1">
                <div><img src="../../../assets/img/airConditioner/loading.gif" class="hide"></div>
            </div>
        </li>
        <!--排风机-->
        <img class="deviceIcon" src="{{toolData.returnAirRunningState | returnAirRunningStateImg}}" style="top: 69%;left:12%;width: 11%">
        <img class="deviceIcon {{toolData.returnAirFaultAlarm | returnAirFaultAlarmImg}}" src="../../../assets/img/airConditioner/alarm.png" style="top: 66%;left:13%;width: 11%">
        <li style="top: 90%;left:18%">
            <label class="deviceStateTitle">排风机</label>
            <label class="deviceStateView deviceStateNormal">{{toolData.returnAirHandAutomatic}}</label><br>
            <label class="deviceStateTitle">状态</label>
            <label class="deviceStateView {{toolData.returnAirRunningState | returnAirRunningStateS}}">{{toolData.returnAirRunningState}}</label><br>
            <label class="deviceStateTitle">故障报警</label>
            <label class="deviceStateView {{toolData.returnAirFaultAlarm | returnAirFaultAlarmState}}">{{toolData.returnAirFaultAlarm}}</label>
        </li>
        <!--co2-->
        <li style="bottom: 82%;left:79%" id="co2ConcentratContrOptLi">
            <label class="deviceStateTitle">CO₂浓度</label>
            <label class="deviceStateView deviceStateNormal">{{toolData.co2Concentration | co2ConcentrationVal}}</label> PPM<br>

            <label><input type="text" {{toolData.co2ConcentratContrOpt | co2ConcentratContrOptD}} value="{{toolData.co2ConcentrationSetting | co2ConcentrationSettingVal}}" onkeyup="this.value=this.value.replace(/\D/g,'')" maxlength="3">PPM</label><lable class="deviceSubmitBtn {{toolData.co2ConcentratContrOpt | co2ConcentratContrOptBtn}}" ipgCode="16" oldVal="{{toolData.co2Concentration | co2ConcentrationVal}}"><img src="../../../assets/img/airConditioner/loading.gif" class="hide">确定</lable><br>
            <label class="deviceStateTitle">是否可控</label><br>
            <div id="co2ConcentratContrOptControl" class="deviceControlBtn {{toolData.co2ConcentratContrOpt | co2ConcentratContrOptC}}" ipgCode="5">
                <div><img src="../../../assets/img/airConditioner/loading.gif" class="hide"></div>
            </div>
            <label class="deviceStateView {{toolData.co2ConcentratContrOpt | co2ConcentratContrOptS}}">{{toolData.co2ConcentratContrOpt}}</label>
        </li>
        <!--送风-->
        <li style="bottom: 25%;left:85%;" class="humidityTemperatureViewLi">

            <label class="deviceStateTitle">当前湿度</label>
            <label class="deviceStateView deviceStateNormal">{{toolData.airSupplyHumidity | airSupplyHumidityVal}}</label> %<br>
            <label style="margin-left: 1em;"><input type="text" value="{{toolData.humiditySetting | humiditySettingVal}}" onkeyup="this.value=this.value.replace(/\D/g,'')" maxlength="2">%</label><lable class="deviceSubmitBtn" ipgCode="17" oldVal="{{toolData.humiditySetting | humiditySettingVal}}"><img src="../../../assets/img/airConditioner/loading.gif" class="hide">确定</lable><br>
            <br>
            <label class="deviceStateTitle">当前温度</label>
            <label class="deviceStateView deviceStateNormal">{{toolData.airSupplyTemperature | airSupplyTemperatureVal}}</label> °C<br>
            <label style="margin-left: 1em;"><input type="text" value="{{toolData.temperatureSetting | temperatureSettingVal}}" onkeyup="this.value=this.value.replace(/\D/g,'')" maxlength="2">°C</label><lable class="deviceSubmitBtn" ipgCode="18" oldVal="{{toolData.temperatureSetting | temperatureSettingVal}}"><img src="../../../assets/img/airConditioner/loading.gif" class="hide">确定</lable>
        </li>

    </div>
</script>

</body>
</html>